@if (isLoading && showLoader) {
  <ngx-skeleton-loader
    animation="pulse"
    [theme]="{
      height: '100%',
      width: '100%'
    }"
  />
}
<canvas
  #chartCanvas
  [ngStyle]="{ display: isLoading ? 'none' : 'block' }"
></canvas>
